﻿using Pay.TO;
using System;
using System.Collections.Generic;

namespace Pay.DTO {
    /// <summary>
    /// 跨境电商-商户
    /// </summary>
    [Serializable]
    public class merchant_declaration_dto {
        public merchant_declaration_dto() {
            
        }

        /// <summary>
        /// 商户id
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 商户姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 商家名称
        /// </summary>
        public string merchant_name { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string company_name { get; set; }
        /// <summary>
        /// 法人
        /// </summary>
        public string legal_person { get; set; }
        /// <summary>
        /// 法人证件1
        /// </summary>
        public string certificate1 { get; set; }
        /// <summary>
        /// 法人证件2
        /// </summary>
        public string certificate2 { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public int certificate_type { get; set; }
        /// <summary>
        /// 营业执照
        /// </summary>
        public string license { get; set; }
        /// <summary>
        /// 营业执照号
        /// </summary>
        public string license_no { get; set; }
        /// <summary>
        /// 境外银行卡
        /// </summary>
        public string overseas_bank_card { get; set; }
        /// <summary>
        /// 银行照片
        /// </summary>
        public string card_url { get; set; }

        /// <summary>
        /// 国家/地区
        /// </summary>
        public string country { get; set; }
        /// <summary>
        /// 企业类型
        /// </summary>
        public int company_type { get; set; }
        /// <summary>
        /// 免费报关次数
        /// </summary>
        public int fee_count { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public MerchantDeclarationStatusEnums auth_status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// 年审时间
        /// </summary>
        public DateTime review_time { get; set; }
    }

    /// <summary>
    /// 供应商 首页资料
    /// </summary>
    public class merchant_declaration_dto_ex {
        public merchant_declaration_dto_ex() {

        }

        /// <summary>
        /// 有效时间
        /// </summary>
        public int effective_time { get; set; }
        /// <summary>
        /// 免费报关次数
        /// </summary>
        public int fee_count { get; set; }
        /// <summary>
        ///  商家认证状态 0未认证 1认证中 2已认证 3认证失败
        /// </summary>
        public int certification_status { get; set; }
        /// <summary>
        /// 商家名称
        /// </summary>
        public string merchant_name { get; set; }
    }
}
